package com.lingjtx.auth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingjtx.auth.entity.TobUserLoginLog;
import com.lingjtx.common.security.model.LoginPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TobUserLoginLogMapper extends BaseMapper<TobUserLoginLog> {
    TobUserLoginLog selectLastLoginLog(@Param("userId") Long userId);

    LoginPo selectTobUserInfoByUserId(@Param("userId") Long userId);

    List<Long> selectAllChildIdsByCompanyId(@Param("companyId") Long companyId);
}